<%@ taglib prefix="s" uri="/struts-tags" %>

<html>
	<head>
	    <link href="<s:url value='/css/main.css'/>" rel="stylesheet" type="text/css"/>
	    <title><s:text name="application.title"/></title>
	</head>
	<body>
			<h1 class="titleDiv"><s:text name="application.title"/></h1>
			<h2><s:text name="label.studentSubjectRegistrationForm.header1"/> <s:property value="alumno.nombre"/> (<s:property value="alumno.dni"/>)</h2>
			
			<br/>
			
			<s:form action="subjectListStudent!enroll" method="POST">
				<s:select name="subjectId" label="%{getText('label.login.role')}" list="subjects" listKey="id" listValue="nombre" />
				
				<s:submit value="%{getText('label.studentSubjectRegistrationForm.submit')}" align="left"/>
			</s:form>
			
			
			<FORM NAME="form1" METHOD="POST">
				<input type="button" value="Cancelar" align="right" onclick="javascript:history.go(-1)">
        	</FORM>
	</body>
</html>
			